<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div text-align="center">
    <h1>请登陆</h1>
    <form action="#" th:action="@{/login}" method="post">
        <p>用户名: <input type="text" name="username" /></p>
        <p>密  码: <input type="text" name="password" /></p>
        <p><input type="submit" value="Submit" /> <input type="reset" value="Reset" /></p>
        <input type="text" th:value="${originalURL}" hidden name="originalURL"/>
    </form>
</div>
</body>
</html>